From 1da0ad8fa76b9d66e30c7e784e2dcaac061d9bb0 Mon Sep 17 00:00:00 2001
From: real-zephex <zephex0@gmail.com>
Date: Fri, 26 Apr 2024 23:52:18 +0530
Subject: minor ui fix

---
 src/app/kdrama/[id]/buttons.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/app/kdrama/[id]/buttons.jsx')

diff --git a/src/app/kdrama/[id]/buttons.jsx b/src/app/kdrama/[id]/buttons.jsx
index 53ae594..789c3ac 100644
--- a/src/app/kdrama/[id]/buttons.jsx
+++ b/src/app/kdrama/[id]/buttons.jsx
@@ -48,11 +48,11 @@ export default function EpisodesButtons({ data: episodeData, id: dramaId }) {
 								key={index}
 								onClick={(event) => {
 									test(item.id, dramaId, item.title);
-									event.target.style.backgroundColor =
+									event.currentTarget.style.backgroundColor =
 										"var(--soft-purple)";
 								}}
 							>
-								{item.title}
+								<p>{item.title}</p>
 							</button>
 						))}
 				</div>
-- 
cgit v1.2.3

